<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>

<body>
  <script>
    function abc(data) {
      console.log('JSONP响应回来的数据是：')
      console.log(data)
    }
  </script>
  <script src="https://suggest.taobao.com/sug?callback=abc&name='zs"></script>

  <!-- 
    接口地址：https://suggest.taobao.com/sug
    参数q：  搜索关键字
   -->

  <!-- <script src="https://suggest.taobao.com/sug?callback=abc&q=a"></script> -->
</body>

</html>